package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加

import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分级报警实时对象 graded_alarm_real
 *
 * @author ruoyi
 * @date 2024-11-19
 */
@Data //添加
@TableName("graded_alarm_real") //添加
public class GradedAlarmReal extends BaseEntity implements Serializable //修改
{
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    //添加
    @TableId(value = "id", type = IdType.AUTO)
    private String gradedAlramRealId;

    /**
     * 报警类型
     */
    @Excel(name = "报警类型")
    private String alarmTypeName;

    /**
     * 报警区域
     */
    @Excel(name = "报警区域")
    private String baseStationName;

    /**
     * 传感器类型
     */
    @Excel(name = "传感器类型")
    private String sensorTypeName;

    /**
     * 报警等级
     */
    @Excel(name = "报警等级")
    private String alarmLevelName;

    /**
     * 系统类型
     */
    @Excel(name = "系统类型")
    private String systemTypeName;

    /**
     * 报警值
     */
    @Excel(name = "报警值")
    private String alarmValue;

    /**
     * 报警时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /**
     * 报警值
     */
    @Excel(name = "报警值")
    private String emergencyplanId;

    /**
     * 报警值
     */
    @Excel(name = "报警值")
    private String broadcastContent;

}

